<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>行元素的margin设置</title>
		<style>
			div#c{
				
			}
			div#c a{
				/* 	height: 500px;
					width: 400px; */
				text-decoration: none;
				border: 2px solid red;
				margin: 50px;/*上下没有效果，左右可以*/
			}
		</style>
	</head>
	<body>
		<div id="c">
			<a href="#">淘宝</a>
			
			<a href="#">京东</a>
			
			<a href="#">亚马逊</a>
		</div>
	</body>
</html>